﻿namespace NGeo.Yahoo.GeoPlanet
{
    public interface IConsumeGeoPlanet
    {
        Place Place(int woeId, string appId, RequestView view = RequestView.Long);

        Place Parent(int woeId, string appId, RequestView view = RequestView.Long);

        Places Ancestors(int woeId, string appId, RequestView view = RequestView.Short);

        Places BelongTos(int woeId, string appId, RequestView view = RequestView.Short);

        PlaceTypes Types(string appId, RequestView view = RequestView.Long);

        PlaceType Type(int typeCode, string appId, RequestView view = RequestView.Short);

        Places Countries(string appId, RequestView view = RequestView.Short);

        ConcordanceResponse Concordance(ConcordanceNamespace category, string id, string appId);

        ConcordanceResponse Concordance(ConcordanceNamespace category, int id, string appId);


    }
}
